import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

//引入 左侧菜单状态的子树
import app from './modules/app';
import user from './modules/user';
//引入getters
import getters from './getters';

export default new Vuex.Store({
    state: {},
    getters,
    mutations: {},
    actions: {},
    modules: {
        app,
        user
    }
})